<?php include('includes/header.php'); ?>
<title>Lore Rider</title>
<?php include('includes/resources.php'); ?>
<?php include('includes/links.php'); ?>
<?php $_SESSION["home"] = "current"; unset($_SESSION["login"]); unset($_SESSION["signup"]); include('includes/body.php'); ?>

<?php if($_SESSION["status"] != "authorized") { ?>
      <div class="jumbotron">
        <h1>The only online screenwriter that has a...</h1>
        <p class="lead">Character analaysis tool, planning tool, and world creator.<img src="img/venn.png"/></p>
        <a class="btn btn-large btn-success" href="<?=$signup?>">Sign Up for Free</a>
      </div>

<?php } if($_SESSION["status"] == "authorized") { ?>
	
  		<div class="row-fluid">
        <div class="span3">
          <strong id="state">Overview</strong>
          <p id="projectImg"><img src="img/overview.png" class="img-polaroid"/></p>
          
          <div class="well sidebar-nav">
          	<ul class="nav nav-list">
	            <li class="nav-header">Projects</li>
            	<li class="active"><a>project 1</a></li>
                <li><a>project 2</a></li>
                <li><a>project 3</a></li>
                <li><a>project 4</a></li>
                <li><a>project 5</a></li>
                <li><a>project 6</a></li>
                <li><a href="<?=$addProject?>">Add a new project</a></li>
            </ul>
          </div><!--/projectList-->
        </div><!--/span-->
        
        <div class="span9">
        	<div id="content">
              <div id="screenplay">
                <h2>Oblivion</h2>
                <p><a href="<?=$screenplay?>" class="btn">Work on Screenplay</a></p>
              </div>
              <div id="planning">
                <p><a href="<?=$planning?>" class="btn">Planning tool</a></p>
                <div class="progress">
                  <div class="bar" style="width: 60%;"></div>
                </div>
              </div>
              <div id="character">
                <p><a href="<?=$character?>" class="btn">Character tool</a></p>
                <div class="progress progress-success">
                  <div class="bar" style="width: 100%;"></div>
                </div>
              </div>
              <div id="world">
                <p><a href="<?=$world?>" class="btn">World tool</a></p>
                <div class="progress">
                  <div class="bar" style="width: 20%;"></div>
                </div>
              </div> <!--END of #world -->
      	  </div> <!--END of #content -->
      </div> <!-- END of .span9 -->
    </div> <!-- END of .row-fluid -->

    
  <?php }  ?>
 
  <?php include('includes/footer.php'); ?>